﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AC7 RID: 2759
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MarkChatEmojiScRsp : IMessage<MarkChatEmojiScRsp>, IMessage, IEquatable<MarkChatEmojiScRsp>, IDeepCloneable<MarkChatEmojiScRsp>, IBufferMessage
	{
		// Token: 0x170022CF RID: 8911
		// (get) Token: 0x06007B6C RID: 31596 RVA: 0x00149991 File Offset: 0x00147B91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MarkChatEmojiScRsp> Parser
		{
			get
			{
				return MarkChatEmojiScRsp._parser;
			}
		}

		// Token: 0x170022D0 RID: 8912
		// (get) Token: 0x06007B6D RID: 31597 RVA: 0x00149998 File Offset: 0x00147B98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MarkChatEmojiScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022D1 RID: 8913
		// (get) Token: 0x06007B6E RID: 31598 RVA: 0x001499AA File Offset: 0x00147BAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MarkChatEmojiScRsp.Descriptor;
			}
		}

		// Token: 0x06007B6F RID: 31599 RVA: 0x001499B1 File Offset: 0x00147BB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiScRsp()
		{
		}

		// Token: 0x06007B70 RID: 31600 RVA: 0x001499B9 File Offset: 0x00147BB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiScRsp(MarkChatEmojiScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.extraId_ = other.extraId_;
			this.aAMMDFEBIMP_ = other.aAMMDFEBIMP_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007B71 RID: 31601 RVA: 0x001499F6 File Offset: 0x00147BF6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MarkChatEmojiScRsp Clone()
		{
			return new MarkChatEmojiScRsp(this);
		}

		// Token: 0x170022D2 RID: 8914
		// (get) Token: 0x06007B72 RID: 31602 RVA: 0x001499FE File Offset: 0x00147BFE
		// (set) Token: 0x06007B73 RID: 31603 RVA: 0x00149A06 File Offset: 0x00147C06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170022D3 RID: 8915
		// (get) Token: 0x06007B74 RID: 31604 RVA: 0x00149A0F File Offset: 0x00147C0F
		// (set) Token: 0x06007B75 RID: 31605 RVA: 0x00149A17 File Offset: 0x00147C17
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ExtraId
		{
			get
			{
				return this.extraId_;
			}
			set
			{
				this.extraId_ = value;
			}
		}

		// Token: 0x170022D4 RID: 8916
		// (get) Token: 0x06007B76 RID: 31606 RVA: 0x00149A20 File Offset: 0x00147C20
		// (set) Token: 0x06007B77 RID: 31607 RVA: 0x00149A28 File Offset: 0x00147C28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool AAMMDFEBIMP
		{
			get
			{
				return this.aAMMDFEBIMP_;
			}
			set
			{
				this.aAMMDFEBIMP_ = value;
			}
		}

		// Token: 0x06007B78 RID: 31608 RVA: 0x00149A31 File Offset: 0x00147C31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MarkChatEmojiScRsp);
		}

		// Token: 0x06007B79 RID: 31609 RVA: 0x00149A40 File Offset: 0x00147C40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MarkChatEmojiScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.ExtraId == other.ExtraId && this.AAMMDFEBIMP == other.AAMMDFEBIMP && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007B7A RID: 31610 RVA: 0x00149A9C File Offset: 0x00147C9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.ExtraId != 0U)
			{
				num ^= this.ExtraId.GetHashCode();
			}
			if (this.AAMMDFEBIMP)
			{
				num ^= this.AAMMDFEBIMP.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007B7B RID: 31611 RVA: 0x00149B0D File Offset: 0x00147D0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007B7C RID: 31612 RVA: 0x00149B15 File Offset: 0x00147D15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007B7D RID: 31613 RVA: 0x00149B20 File Offset: 0x00147D20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ExtraId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.ExtraId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.AAMMDFEBIMP)
			{
				output.WriteRawTag(104);
				output.WriteBool(this.AAMMDFEBIMP);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007B7E RID: 31614 RVA: 0x00149B98 File Offset: 0x00147D98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.ExtraId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ExtraId);
			}
			if (this.AAMMDFEBIMP)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007B7F RID: 31615 RVA: 0x00149BFC File Offset: 0x00147DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MarkChatEmojiScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.ExtraId != 0U)
			{
				this.ExtraId = other.ExtraId;
			}
			if (other.AAMMDFEBIMP)
			{
				this.AAMMDFEBIMP = other.AAMMDFEBIMP;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007B80 RID: 31616 RVA: 0x00149C60 File Offset: 0x00147E60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007B81 RID: 31617 RVA: 0x00149C6C File Offset: 0x00147E6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 56U)
					{
						if (num != 104U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.AAMMDFEBIMP = input.ReadBool();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ExtraId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002F29 RID: 12073
		private static readonly MessageParser<MarkChatEmojiScRsp> _parser = new MessageParser<MarkChatEmojiScRsp>(() => new MarkChatEmojiScRsp());

		// Token: 0x04002F2A RID: 12074
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F2B RID: 12075
		public const int RetcodeFieldNumber = 7;

		// Token: 0x04002F2C RID: 12076
		private uint retcode_;

		// Token: 0x04002F2D RID: 12077
		public const int ExtraIdFieldNumber = 5;

		// Token: 0x04002F2E RID: 12078
		private uint extraId_;

		// Token: 0x04002F2F RID: 12079
		public const int AAMMDFEBIMPFieldNumber = 13;

		// Token: 0x04002F30 RID: 12080
		private bool aAMMDFEBIMP_;
	}
}
